package sapling.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;
import sapling.model.Admin;
import sapling.model.Company;

/**
 * Created by ever on 2016/10/9.
 */

@Transactional
public interface CompanyDao extends JpaRepository<Company, Long> {

    Company findOneByName(String name);

}
